package com.crl.net
{
	import flash.display.DisplayObject;
	import flash.net.URLRequest;
	import flash.system.LoaderContext;

	public interface ILoaderTask
	{
		function getURLRequest():URLRequest;
		
		function getLoaderContext():LoaderContext;
		
		function onLoadStart():void;
		
		function onLoadComplete(asset:DisplayObject):void;
		
		function onLoadError(info:String):void;
		
		function onLoadProgress(bytesLoaded:int, bytesTotal:int):void;
	}
}